//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _PatternMatches_h__
#define	_PatternMatches_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class PatternMatches {
  
  private:
    
    int             paramCode;
    
    String*         code;
    String*         matches;
    
    String*         toString;

  public:
    
    PatternMatches ();
    PatternMatches (int, String*, String*);
    PatternMatches (int, char*, char*);
    PatternMatches (const PatternMatches&);
    PatternMatches (const PatternMatches*);
    
    ~PatternMatches ();
    
    void            ParamCode (int);
    void            Code (String*);
    void            Matches (String*);

    int             ParamCode (void);
    String*         Code (void);
    String*         Matches (void);
    
    String*         ToString (void);

    PatternMatches  operator= (const PatternMatches&);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//

